<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"> 

	<h:head>
			<title>Funcionário</title>
			<h:outputStylesheet name="style.css" library="css" />
	</h:head>
	
	<h:body style="background-image: url(/resources/imagens/funcionario2.png); background-repeat: no-repeat; background-position: 1150px 400px" >
		<div id="cabecalho">
			<h:graphicImage library="imagens" name="logo-sced44.png"
				id="logoCompany" />	
		</div>

	<div id="usuarioLogado">
		<h:outputText value="Usuário: " rendered="#{empty funcionarioBean.funcionario.nome}" />
		<h:outputText value="#{loginBean.funcionario.nome}" style="font-weight:bold;" />&nbsp;
		<h:outputLink value="index.xhtml?faces-redirect=true" title="Sair do Sistema"> 
			<h:graphicImage value="/resources/imagens/sair.png" style="width: 20px" />
		</h:outputLink>
	</div>

	<div id="conteudo">
		<h:form>
			<p:menubar effect="string" style="background-image: url(resources/imagens/seila_eu3.jpg);">
				<p:menuitem value="Inicio" action="#{loginBean.rediciona}" />
				<p:menuitem value="Funcionarios Cadastrados" url="ListTudoFuncionario.xhtml?faces-redirect=true" />
				<p:menuitem value="Funcionario Em Espera" url="ListFuncionario.xhtml?faces-redirect=true" />
			</p:menubar>
		</h:form>	
			
			<ui:insert name="corpo" />
		</div>
		
		
		<div id="rodape">
			Copyrigth 2012 SEINF - Secretaria de Infra Estrutura		
		</div>
		
	</h:body>
</html>